package com.jandan.ui.client.service;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.jandan.ui.model.WordComment;

@RemoteServiceRelativePath("wordComment.rpc")
public interface WordCommentService extends RemoteService {

	public static class Util {

		public static WordCommentServiceAsync getInstance() {

			return GWT.create(WordCommentService.class);
		}
	}
	
	public List<WordComment> getWordCommentListByWordID(long wordID);
	public WordComment addWordComment(WordComment wordComment);
	public int getWordCommentCountByWordID(long wordID);
}
